//
//  BleClockAndTempSetModel.h
//  HBSDKPro
//
//  Created by LRB_C on 2020/8/18.
//  Copyright © 2020 林瑞彬. All rights reserved.
//

#import <Foundation/Foundation.h>
/*
clockRepeatDayArr 闹钟重复设定 如:[0,2,3,] 表示星期天 星期二 星期三 以此类推
hour 0-23
min 0-59
 */
@interface BleClockModel :  NSObject

@property (nonatomic,assign) BOOL isOpen;//是否打开
@property (nonatomic,assign) UInt8 hour;//小时值
@property (nonatomic,assign) UInt8 min;//分钟值
@property (nonatomic,strong) NSSet <NSString*>*repeatDayArr;//闹钟重复 数字数组（0-6）星期天-星期六 0代表星期天
-(instancetype)initWithData:(NSData*)data;

@end

/**
 闹钟 体温 语言 等设置
 可设置三个闹钟
 */
@interface BleClockAndTempSetModel : NSObject

@property(assign,nonatomic) UInt8 unit;//单位制(0:公制;1:英制)

@property (nonatomic,strong) BleClockModel *clock1;//闹铃1
@property (nonatomic,strong) BleClockModel *clock2;//闹铃2
@property (nonatomic,strong) BleClockModel *clock3;//闹铃3
/*
 0-ENGLISH,1-CN,2-TW,3-JAPANESE,4-KOREAN, 5-FRENCH,6-GERMAN,7-ITALIAN,8-DUTCH, 9-PORTUGUESE,10-SPANISH,11-SWEDISH,12-CZECH, 13-DANISH,14-POLISH,15-RUSSIAN,16-TURKISH, 17-BULGARIAN,18-HUNGARIAN,19-ROMANIAN, 20-SLOVENIAN,21-GREEK,
 */
@property (nonatomic,assign) UInt8 languageCode;//
@property (nonatomic,assign) UInt8 tempInterval;//单位分钟: 0或1-240 建议10以上
@property (nonatomic,assign) UInt8 tempWarnValue;//体温警告值: (实际温度摄氏度*10-250)
@property (nonatomic,assign) UInt8 tempWarnAlarm;//体温报警值: (实际温度摄氏度*10-250)

/**
 根据返回的data生成信息模型
 */
-(instancetype)initWithData:(NSData*)data;
@end

